/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.qhq.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 学院表Entity
 * @author 秦华权
 * @version 2017-11-28
 */
public class PrentSystemlist extends DataEntity<PrentSystemlist> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 系部名称
	private String schoolId;		// 学校名称
	private SchoolParent prentId;		// 学院名称 父类
	
	public PrentSystemlist() {
		super();
	}

	public PrentSystemlist(String id){
		super(id);
	}

	public PrentSystemlist(SchoolParent prentId){
		this.prentId = prentId;
	}

	@Length(min=0, max=100, message="系部名称长度必须介于 0 和 100 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=64, message="学校名称长度必须介于 0 和 64 之间")
	public String getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}
	
	@Length(min=0, max=64, message="学院名称长度必须介于 0 和 64 之间")
	public SchoolParent getPrentId() {
		return prentId;
	}

	public void setPrentId(SchoolParent prentId) {
		this.prentId = prentId;
	}
	
}